package com.siants.common.application.controller;
/**
 * 〈一句话功能简述〉<br>
 * 〈〉
 *
 * @author yanxin
 * @create 2018/1/18
 * @since 1.0.0
 */

import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by yanxin on 2018/1/18.
 */
/*@RestController
@EnableAutoConfiguration*/
/*@Controller
@EnableAutoConfiguration*/
@RestController
public class CommonController {

    @RequestMapping(value = "/common")
    //@ResponseBody
    public String common(){
        return "Common Controller";
    }

}
